﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace WebFirst.Entities
{
    /// <summary>
    /// 
    ///</summary>
    [SugarTable("user")]
    public class User
    {
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "userId", IsPrimaryKey = true, IsIdentity = true)]
        public int UserId { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "userName")]
        public string UserName { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "passWord")]
        public string PassWord { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "sex")]
        public string Sex { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "money")]
        public decimal Money { get; set; }
    }
}
